package com.totcy.atom.bean.response;

/**
 * description: gank接口返回实体
 *
 * author: Totcy
 * date: 2017/11/2 16:38
 * update: 2017/11/2
 */

public class GankResponse<T> {

    private boolean error;
    private T results;

    public GankResponse() {
    }

    public GankResponse(boolean error, T results) {
        this.error = error;
        this.results = results;
    }

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public T getResults() {
        return results;
    }

    public void setResults(T results) {
        this.results = results;
    }
}
